﻿<div>

<h2>JavaScript 代码：</h2>
<textarea name="dp-syntaxhighlighter" class="brush: js; highlight: [4]" >
    
    $(function () {
        var cc = $("#select1").combo({
            width: 120,
            autoShowPanel: true
        });

        $("#Button1").click(function () {
            cc.combo("textbox").focus();
        });
    });

</textarea>
<h2>HTML 代码：</h2>
<textarea name="dp-syntaxhighlighter" class="brush: html; highlight: []" >
    
    <input id="Button1" type="button" value="设置焦点" />
    <select id="select1"></select>

</textarea>


</div>